//
//  MoreDetailViewController.m
//  SYiDaiy
//
//  Created by dllo on 16/9/3.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MoreDetailViewController.h"
#import "CustomWebview.h"

@interface MoreDetailViewController ()
@property (nonatomic,strong) CustomWebview *webview;
@end

@implementation MoreDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self createnavigationItem];
    [self createwebview];
}
    

    
    
    
    
    
    
    


- (void)createwebview
{
    _webview = [[CustomWebview alloc] initWithFrame:self.view.bounds];
    [_webview passStr:_url];
    [self.view addSubview:_webview];
}

- (void)createnavigationItem
{
    self.tabBarController.tabBar.hidden = YES;
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"ButtonEntryToolClose"] style:UIBarButtonItemStylePlain target:self action:@selector(leftButtonClicked)];
}

- (void)leftButtonClicked
{
    self.tabBarController.tabBar.hidden = NO;
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}


@end
